package com.kz.himalaya.bean;

import java.util.List;

/**
 * Created by Administrator on 2017/1/25.
 */

public class DiscoveryEntity {
    private int ret;
    private String title;
    private List<DiscoveryListEntity> list;

    public int getRet() {
        return ret;
    }

    public void setRet(int ret) {
        this.ret = ret;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public List<DiscoveryListEntity> getList() {
        return list;
    }

    public void setList(List<DiscoveryListEntity> list) {
        this.list = list;
    }

    public class DiscoveryListEntity {
        private long id;
        private String title,subTitle,coverPath,contentType,url,sharePic;
        private boolean enableShare,isExternalUrl;
        private int contentUpdatedAt;
        private Properties properties;

        public long getId() {
            return id;
        }

        public void setId(long id) {
            this.id = id;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getSubTitle() {
            return subTitle;
        }

        public void setSubTitle(String subTitle) {
            this.subTitle = subTitle;
        }

        public String getCoverPath() {
            return coverPath;
        }

        public void setCoverPath(String coverPath) {
            this.coverPath = coverPath;
        }

        public String getContentType() {
            return contentType;
        }

        public void setContentType(String contentType) {
            this.contentType = contentType;
        }

        public String getUrl() {
            return url;
        }

        public void setUrl(String url) {
            this.url = url;
        }

        public String getSharePic() {
            return sharePic;
        }

        public void setSharePic(String sharePic) {
            this.sharePic = sharePic;
        }

        public boolean isEnableShare() {
            return enableShare;
        }

        public void setEnableShare(boolean enableShare) {
            this.enableShare = enableShare;
        }

        public boolean isExternalUrl() {
            return isExternalUrl;
        }

        public void setExternalUrl(boolean externalUrl) {
            isExternalUrl = externalUrl;
        }

        public int getContentUpdatedAt() {
            return contentUpdatedAt;
        }

        public void setContentUpdatedAt(int contentUpdatedAt) {
            this.contentUpdatedAt = contentUpdatedAt;
        }

        public Properties getProperties() {
            return properties;
        }

        public void setProperties(Properties properties) {
            this.properties = properties;
        }

        private class Properties {
            private String contentType,key;
            private long rankingListId;
            private boolean isPaid;

            public String getContentType() {
                return contentType;
            }

            public void setContentType(String contentType) {
                this.contentType = contentType;
            }

            public String getKey() {
                return key;
            }

            public void setKey(String key) {
                this.key = key;
            }

            public long getRankingListId() {
                return rankingListId;
            }

            public void setRankingListId(long rankingListId) {
                this.rankingListId = rankingListId;
            }

            public boolean isPaid() {
                return isPaid;
            }

            public void setPaid(boolean paid) {
                isPaid = paid;
            }
        }
    }
}
